/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
    /*background-image: url('../img/PF.png');
    background-repeat:no-repeat;
	background-position:center;
	background-attachment:fixed;*/
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 16px/26px Verdana, Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ================================
    ALL: PrimeFaces: glass-x Theme
   ================================ */

.header-gradient {
	height: 20px;
	background: -moz-linear-gradient(top, #EDF1F4, #BDCBD8);
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#EDF1F4), to(#BDCBD8));
	background: -webkit-linear-gradient(top, #EDF1F4, #BDCBD8);
	background: -o-linear-gradient(top, #EDF1F4, #BDCBD8);
}

.header-container,
.footer-container {
    background: #EDF1F4;    
}

.footer-container {
	
}

.footer-gradient {
	height: 20px;
	clear: both;
	margin: 20px 0 0 0;
	background: -moz-linear-gradient(top, #BDCBD8, #EDF1F4);
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#BDCBD8), to(#EDF1F4));
	background: -webkit-linear-gradient(top, #BDCBD8, #EDF1F4);
	background: -o-linear-gradient(top, #BDCBD8, #EDF1F4);
}

.main-container {
	min-height: 795px;
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;    
}

nav a {
    display: inline;
    margin-bottom: 10px;
    padding: 5px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #EDF1F4;
}

nav a:hover,
nav a:visited {
    color: black;
}

nav a:hover {
    text-decoration: underline;
}

.fixed {
	position: fixed;
	z-index: 100;
}

/* ==============
    MOBILE: Main
   ============== */

.main article h1 {
    font-size: 2em;
}

.main aside {
    color: white;
    padding: 0px 5% 10px;
}

.footer-container footer {
    color: #BDCBD8;
    padding: 10px 0 20px;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus {
	/*border-color: rgba(82, 168, 236, 0.8);
  	outline: 0;
	outline: thin dotted \9;*/
	/* IE6-9 
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.8);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.8);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.8);*/
	background-color: #B3D4FC;
}
input:required {
	border-color: rgba(255, 0, 0, 0.8);
  	outline: 0;
	outline: thin dotted \9;
	/* IE6-9 
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8);*/
}

input:invalid {
	border-color: rgba(255, 0, 0, 0.8);
  	outline: 0;
	outline: thin dotted \9;
	/* IE6-9 
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8);*/
}

input:valid {
	border-color: rgba(0, 255, 0, 0.8);
  	outline: 0;
	outline: thin dotted \9;
	/* IE6-9 
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.8);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.8);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.8);*/
}

input:disabled {
	
}

input {
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

label {
	font-size: 14px;
}

.flag {
	margin-top: 10px;
}

.no-border {
	border: none;
}

.center {
	text-align: center;
}

.left {
	text-align: left;
}

.floatLeft {
	float: left;
}

.floatRight {
	float: right;
}

.clear {
	clear: both;
}

#pf {
	margin: 12% 25%;
}


/* ==========================================================================
   Author's custom PrimeFaces styles
   ========================================================================== */
/*  ui-widget nested have a reduced font, so size + 10%
	default font from PrimeFaces
		.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; }
		.ui-widget .ui-widget { font-size: 1em; }
*/

.ui-widget {
    font-size: 90%;
 }
.ui-widget .ui-widget {
    font-size: 100%;
 }

.ui-growl {
	top: 70px;
}

.ui-overlaypanel {
	background: -moz-linear-gradient(top, #E1ECF5, #BDCBD8);
	background: -webkit-gradient(linear, 0 0, 0 100%, from(#E1ECF5), to(#BDCBD8));
	background: -webkit-linear-gradient(top, #E1ECF5, #BDCBD8);
	background: -o-linear-gradient(top, #E1ECF5, #BDCBD8);	
}

.ui-inputtext {
	background-color: #EDF1F4;	
}

.ui-menubar {
	background-color: #EDF1F4;
	border: none;	
	padding-top: 10px;
}

.ui-panelgrid {
	width: auto;
}

.ui-clock {
	border: 0;
	background: transparent;
	color: BDCBD8;
}

.ui-datatable-even {
	background-color: white;	
}

.ui-datatable-odd {
	background-color: #EDF1F4;	
}

.ui-inputtextarea:focus {
	background-color: #B3D4FC;
}

.ui-inputtextarea:required {
	border-color: rgba(255, 0, 0, 0.8);
  	outline: 0;
	outline: thin dotted \9;
	/* IE6-9 
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8);*/
}

.ui-inputtextarea:invalid {
	border-color: rgba(255, 0, 0, 0.8);
  	outline: 0;
	outline: thin dotted \9;
	/* IE6-9 
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 0, 0, 0.8);*/
}

.ui-inputtextarea:valid {
	border-color: rgba(0, 255, 0, 0.8);
  	outline: 0;
	outline: thin dotted \9;
	/* IE6-9 
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.8);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.8);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 255, 0, 0.8);*/
}

.ui-inputtextarea:disabled {
	
}

.ui-selectonemenu {
	height: 21px;	
	width: 300px;
	margin: 1px 0 -5px;
}

.ui-selectonemenu-label {
	font-size: 98%;	
	margin-top: -5px;
}

.ui-selectonemenu-item {
	font-size: 90%;	
	margin-top: -5px;
}

/* ==========================================================================
   Author's custom Bootstrap styles
   ========================================================================== */

.span100 {
  width: 100%;
  *width: 99.94680851063829%;
}

.span91 {
  width: 91.48936170212765%;
  *width: 91.43617021276594%;
}

.span83 {
  width: 82.97872340425532%;
  *width: 82.92553191489361%;
}

.span74 {
  width: 74.46808510638297%;
  *width: 74.41489361702126%;
}

.span66 {
  width: 65.95744680851064%;
  *width: 65.90425531914893%;
  float: left;
}

.span57 {
  width: 57.44680851063829%;
  *width: 57.39361702127659%;
}

.span50 {
  width: 48.93617021276595%;
  *width: 48.88297872340425%;
  float: left;
}

.span40 {
  width: 40.42553191489362%;
  *width: 40.37234042553192%;
  float: left;
}

.span32 {
  width: 31.914893617021278%;
  *width: 31.861702127659576%; 
  float: left; 
}

.span23 {
  width: 23.404255319148934%;
  *width: 23.351063829787233%;
  float: left;
}

.span15 {
  width: 14.893617021276595%;
  *width: 14.840425531914894%;
  float: left;
}

.span6 {
  width: 6.382978723404255%;
  *width: 6.329787234042553%;
  float: left;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: left;
        width: 10%;
        margin: 0 1.7%;
        padding: 25px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }
    
/* ============
    INTERMEDIATE: Main
   ============ */
   
    .main {
	    padding: 120px 0 30px 0;
	}
    
/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-gradient {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }
    
    .footer-gradient {
        -webkit-box-shadow: 0 -5px 10px #aaa;
           -moz-box-shadow: 0 -5px 10px #aaa;
                box-shadow: 0 -5px 10px #aaa;
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: left;
        width: 100%;
        height: 60px;
    }

/* ============
    WIDE: Main
   ============ */

    .main article {
        float: left;
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
    }
    
    .main {
	    padding: 100px 0 30px 0;
	}
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}
    
@media only screen and (min-width: 1700px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1530px; /* 1700px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}